Filtering

You will notice that there are include statements in the above illustration and if you change these, you won't be able to compile the project. Lets now exclude all include references. By doing so we won't have to change any file names and can filter for symbols only. We will do so by using regular expressions. Regular expressions (regex) are a powerful means to specify patterns for filters and search strings in the various SNiFF+ tools, especially in the Retriever. Basically, regular expressions are a system of matching character patterns. For more information, please see Reference Guide -- Regular Expressions.

- In the Retriever, press the Filter... button to open the Find and Replace Filters dialog.

In the Find and Replace Filters dialog

In the Name field, enter a name for the regular expression e.g., No Includes.
In the Retrieve field, enter

!#include . An exclamation point at the beginning of a regular expression means "match everything except the following regex".
Note that this is a SNiFF+ specific implementation and not usually part of the regular expression syntax.
Press Ok to add the new regular expression to the Regular Expression List, to apply the regular expression to the list of matches and to close the dialog.
As you can see, there are now only 12 matches in 3 files.